/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package tutorial.MVC.Controler;

import tutorial.MVC.Model.Pizza;

/**
 * Clasa Bucatar este Controller-ul care nu stie de unde vine commanda
 * stie doar cum sa faca o Pizza
 * @author Boogie
 */
public class Bucatar {
    public Pizza getHawaianPizza(){
        Pizza p = new Pizza();
        p.setTopping("Ham+Pinaple");
        p.setCrust("Thick");
        p.setSouce("Tommato");        
        return p;
    }
    
    public Pizza getPepperoniPizza(){
        Pizza p = new Pizza();
        p.setTopping("Pepperoni");
        p.setCrust("Thin");
        p.setSouce("HotSouce");        
        return p;
    }
}
